<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>员工注册</title>
    <style>
      body {
        background:url("./孤月骑士.jpg");
        background-size:cover;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: 0;
        font-family: Arial, sans-serif;
      }
      
      .register-form {
        padding: 30px;
        border: 1px solid #ccc;
        border-radius: 10px;
        width: 300px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        background-color: rgba(255, 255, 255, 0.8);
      }
      
      .form-group {
        margin-bottom: 20px;
      }
      
      label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
      }
      
      input[type="text"],
      input[type="password"] {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-sizing: border-box;
      }
      
      .buttons {
        display: flex;
        justify-content: center;
        margin-top: 30px;
      }
      
      button {
        padding: 10px 30px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        background-color: #4CAF50;
        color: white;
      }
      
      button:hover {
        opacity: 0.8;
      }
    </style>
  </head>
  <body>
    <div class="register-form">
      <h2 style="text-align: center; margin-bottom: 30px;">Employee注册</h2>
      <form action="register" method="post">
        <div class="form-group">
          <label for="username">用户名：</label>
          <input type="text" id="username" name="username" required>
        </div>
        <div class="form-group">
          <label for="password">密码：</label>
          <input type="password" id="password" name="password" required>
        </div>
        <div class="form-group">
          <label for="realName">真实姓名：</label>
          <input type="text" id="realName" name="realName" required>
        </div>
        <div class="form-group">
          <label for="phone">手机号：</label>
          <input type="text" id="phone" name="phone" required>
        </div>
        <div class="buttons">
          <button type="submit">注册</button>
        </div>
      </form>
    </div>
  </body>
</html>